<p>
  <b>Category name:</b>
  <%=h @subcategory.category.category_name %>
</p>
<p>
  <b>Subcategory name:</b>
  <%=h @subcategory.subcategory_name %>
</p>


<%= link_to 'Edit', edit_subcategory_path(@subcategory) %> |
<%= link_to 'Back', subcategories_path %>
